package com.gurun.camera.account.model;

import com.danale.sdk.Danale;
import com.danale.sdk.platform.constant.user.UserType;
import com.danale.sdk.platform.result.user.RegistGetVerificationCodeResult;
import com.danale.sdk.utils.MetaDataUtil;
import com.gurun.camera.account.activity.AccountUtil;
import rx.Observable;

/**
 * Created by danal on 2016/9/9.
 */

public class SendVerifycodeModelImpl implements ISendVerifyCodeModel {
    @Override
    public Observable<RegistGetVerificationCodeResult> sendVerifyCode(String account, UserType type, String countrycode) {

       return  Danale.get().getAccountService().registGetVerificationCode(1,account, type, MetaDataUtil.getCoreCode(AccountUtil.getInstance(null).getAppContext()),countrycode);


    }
}
